package com.joinway.framework.admin.bean.view;

import java.util.List;

import org.jsondoc.core.annotation.ApiObject;
import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.framework.bean.logging.annotation.LogMask;
import com.joinway.framework.bean.view.View;


@ApiObject(name = "UserOverviewView", description = "用户信息")
public class UserOverviewView extends View {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@LogMask @ApiObjectField(description="登录名") 
	protected String loginName;
	@LogMask @ApiObjectField(description="姓名") 
	protected String name;
	protected List<LoginRole> roles;
	
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<LoginRole> getRoles() {
		return roles;
	}
	public void setRoles(List<LoginRole> roles) {
		this.roles = roles;
	}
}
